package top.melody.ecommerce.platform.dal.system;

import org.apache.ibatis.annotations.Param;
import top.melody.ecommerce.common.util.page.Pagination;
import top.melody.ecommerce.platform.api.domain.system.SecurityUser;

import java.util.List;

/**
 * @author: melody
 * @groupId:rd
 * @createdate:2016-10-18
 * @mail: blentle.huan.ren@gmail.com
 * @description:
 * @since: 1.0
 */
public interface SecurityUserMapper {

    List<SecurityUser> queryByPage(@Param("queryEntity")SecurityUser record, @Param("page")Pagination page);

    Integer getCount(@Param("queryEntity")SecurityUser record);

    SecurityUser get(Object key);

    Integer insert(SecurityUser record);

    Integer insertSelective(SecurityUser record);

    Integer delete(SecurityUser record);

    Integer deleteByPrimaryKey(Object key);

    Integer updateByPrimaryKey(SecurityUser record);

    Integer updateByPrimaryKeySelective(SecurityUser record);
}